/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.myorg.shr.gui.swg.display.button;

import javax.swing.Action;
import java.awt.event.ActionListener;
import org.myorg.shr.gui.io.finder.FinderResShr;
import org.myorg.shr.gui.swg.display.menuitem.MimAbs;

/**
 *
 * @author Hatsites
 *
 * email: Hatsites_AT_gmail.com
 * ... please remove "_AT_" from the above string to get the right email address
 */

public class BtnIcnApply extends BtnAbs {

    final static private String _F_STR_NAME = "Appliquer";

    public BtnIcnApply()
    {
        super(BtnIcnApply._F_STR_NAME,
                FinderResShr.s_getIcon(FinderResShr.STR_CHECKED, MimAbs.ICN_SIZE));
    }
    public BtnIcnApply(Action act)
    {
        super(
                act,
                "");
        super.setText(BtnIcnApply._F_STR_NAME);
        super.setIcon(FinderResShr.s_getIcon(FinderResShr.STR_CHECKED, MimAbs.ICN_SIZE));
    }

    public BtnIcnApply(ActionListener lst){
        super(BtnIcnApply._F_STR_NAME,
                FinderResShr.s_getIcon(FinderResShr.STR_CHECKED, MimAbs.ICN_SIZE));
        this.addActionListener(lst);
    }

    final public static int BTN_SIZE = 100;
}
